home *** CD-ROM | disk | FTP | other *** search
/ Delphi Developer's Kit 1996 / Delphi Developer's Kit 1996.iso / power / csystray.000 / csystray / aboutdlg.cpp next >
Encoding:
C/C++ Source or Header  |  1995-12-22  |  827 b   |  39 lines

  1. // aboutdlg.cpp : Defines the class behaviors for the application.
  2. //
  3.  
  4. #include "stdafx.h"
  5. #include "aboutdlg.h"
  6.  
  7. CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD)
  8. {
  9.     //{{AFX_DATA_INIT(CAboutDlg)
  10.     //}}AFX_DATA_INIT
  11. }
  12.  
  13. void CAboutDlg::DoDataExchange(CDataExchange* pDX)
  14. {
  15.     CDialog::DoDataExchange(pDX);
  16.     //{{AFX_DATA_MAP(CAboutDlg)
  17.     //}}AFX_DATA_MAP
  18. }
  19.  
  20. BEGIN_MESSAGE_MAP(CAboutDlg, CDialog)
  21.     //{{AFX_MSG_MAP(CAboutDlg)
  22.         // No message handlers
  23.     //}}AFX_MSG_MAP
  24. END_MESSAGE_MAP()
  25.  
  26. /////////////////////////////////////////////////////////////////////////////
  27. // CAboutDlg message handlers
  28.  
  29. BOOL CAboutDlg::OnInitDialog()
  30. {
  31.     CDialog::OnInitDialog();
  32.     CenterWindow();
  33.     
  34.     // TODO: Add extra about dlg initialization here
  35.     
  36.     return TRUE;  // return TRUE  unless you set the focus to a control
  37. }
  38.  
  39.